home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / rbbs / rbbs_mpl.zip / UPGRADEM.BAT < prev    next >
DOS Batch File  |  1992-06-28  |  2KB  |  72 lines

  1. @echo off
  2. cls
  3.  
  4.  
  5. echo     RBBS batch file to upgrade RBBS-PC 17.4
  6. echo     with Latest Maple mods
  7. echo .
  8. echo .
  9. echo     You may wish to edit the Bled commands to include the drive/Sudir
  10. echo     were the rbbs*.bas files are kept and were the merge files are located
  11. echo .
  12. echo     you can also create the *.MPL files as *.BAS files
  13. echo     but you must specify a subdir to put them in
  14. echo     DO NOT overwrite the ORIG source files
  15. Pause
  16.  
  17. if %1?==? goto Usage
  18.  
  19. :Start
  20.  
  21.  
  22.  
  23.  
  24. if not exist BLED.EXE goto NoBLED
  25.  
  26. rem Apply a  merge:  BLED[/B/L/M/RC]  {source} {merges} {new file} {warn file}
  27.  
  28. BLED /B/L rbbs-pc.bas m-pc%1.mrg Rbbs-pc.mpl Mpl-pc.WRN
  29. BLED /B/L rbbssub1.bas mbs1%1.mrg rbbssub1.mpl mpl1.WRN
  30. BLED /B/L rbbssub2.bas mbs2%1.mrg rbbssub2.mpl mpl2.WRN
  31. BLED /B/L rbbssub3.bas mbs3%1.mrg rbbssub3.mpl mpl3.WRN
  32. BLED /B/L rbbssub4.bas mbs4%1.mrg rbbssub4.mpl mpl4.WRN
  33. BLED /B/L rbbssub5.bas mbs5%1.mrg rbbssub5.mpl mpl5.WRN
  34. BLED /B/L CONFIG.bas MCfg%1.mrg Config.mpl CONF.WRN
  35. BLED /B/L CNFG-SUB.BAS MCSB%1.mrg Cnfg-sub.mpl CONF-SUB.WRN
  36.  
  37.  
  38. echo ^g
  39. echo .
  40. echo       remember to put in the new RBBS-VAR.* files
  41. echo .
  42. echo       if all files were merged successfully
  43. echo       then rename them with the *.BAS extension
  44.  
  45. GOTO END
  46.  
  47.  
  48. :NoBLED
  49. echo Missing BLED.EXE... Aborted.
  50. goto Stop
  51.  
  52.  
  53. :Usage
  54. echo Usage: UPGRADE xxxx
  55. echo .
  56. echo        where xxxx is the upgrade date
  57. echo        the end of the MRG filenames. 
  58. echo .
  59.  
  60. Goto Stop
  61.  
  62. :End
  63.  
  64. echo       if the Merges were were succesfull ren the *.MPL files to 
  65. echo       *.BAS and recompile 
  66. echo .
  67. echo       Be Sure to update the RBBS-VAR.* files and any other
  68. echo        *.BAS files include with this Mrg
  69.  
  70.  
  71. :Stop
  72.